package com.base.data.elasticsearch.core.mapping;

import org.springframework.data.mapping.PersistentEntity;

public interface BaseElasticsearchPersistentEntity<T> extends PersistentEntity<T, BaseElasticsearchPersistentProperty> {

    String getIndexName();

    String getIndexType();

    short getShards();

    short getReplicas();

    boolean isUseServerConfiguration();

    String getRefreshInterval();

    String getIndexStoreType();

    BaseElasticsearchPersistentProperty getVersionProperty();

    String getParentType();

    BaseElasticsearchPersistentProperty getParentIdProperty();

    String settingPath();

    boolean isCreateIndexAndMapping();
}

